/*
 * @lc app=leetcode.cn id=459 lang=csharp
 *
 * [459] 重复的子字符串
 */

// @lc code=start
public class Solution {
    public bool RepeatedSubstringPattern(string s) {
        return (s + s).Substring(1, 2 * s.Length - 2).Contains(s);
    }
}
// @lc code=end

